home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_13_05
/
saks
/
tree.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-06
|
269b
|
17 lines
Listing 1 - A "typical" class for a binary tree with the tree
node class as a private nested type
class tree
{
public:
tree();
...
private:
struct node
{
node *left, *right;
...
};
node *root;
};